Fix syntax error.
authorsmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Mon, 21 Nov 2005 18:28:50 +0000 (19:28 +0100)
committersmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Mon, 21 Nov 2005 18:28:50 +0000 (19:28 +0100)
Signed-off-by: Steven Hand <steven@xensource.com>
tools/python/xen/xm/main.py

index 143e521a7ad5c05e4e1f220aea99d0ab12cde884..6527a40d0bb968674ddc308f4e96d98b8f85bebb 100644 (file)
@@ -846,7 +846,7 @@ def deprecated(old,new):
     err('Option %s is the new replacement, see "xm help %s" for more info' % (new, new))
 
 def usage(cmd=None):
-    if cmd = 'create'
+    if cmd == 'create':
         xm_subcommand("create", "--help")
         sys.exit(1)
     if help.has_key(cmd):